sdkRoot ?= ..

#The target host ip for running simulation
TargetHost ?= localhost
#The Path of testcase stored for link32 soc simulation 
PathTestCase ?=


######################################
# Compiler Variables
######################################

#when BootFromSRAM = 1 boot from sram, otherwise boot from flash
BootFromSRAM=0
# arch
ARCH = -march=rv32imc -mabi=ilp32

# CPU
CPU =

# debug build?
DEBUG ?= 1

# optimization
#OPT ?= -O2
OPT ?= -Os


######################################
# Target
######################################
TARGET = IAP

######################################
# Build Paths
######################################
# Build path
BUILD_DIR = ${TARGET}


######################################
# File List
######################################

#C source file list
C_SOURCES = \
./common.c \
./ymodem.c \
./main.c

#ASM source file list
ASM_SOURCES =

# macros for gcc
# AS defines
AS_DEFS =

# C defines
C_DEFS =

# AS includes
AS_INCLUDES =

# C includes
C_INCLUDES = \
-I ../inc


include ${sdkRoot}/Makefile
